package com.stone.sys.pojo;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

/**
 * TBdzPg entity. @author MyEclipse Persistence Tools
 */

@Entity
@Table(name = "SYS_BDZ_PG")

public class TBdzPg implements java.io.Serializable {

	 // Fields

    private Long id;
    
    /**
     * 变电站id
     */
    private Long bdzid;
    
    
    /**
     * 屏柜编号
     */
    private String pgbh;
    
    /**
     * 屏柜名称
     */
    private String pgmc;

    /**
     * 电压等级
     */
    private String dydj;

    /**
     * 屏柜类型
     */
    private String pglx;
  
    /**
     * 投运日期
     */
    private Date tyrq;
    
    @Id
    @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="SEQ_BDZ_PG")
    @SequenceGenerator(name="SEQ_BDZ_PG",allocationSize=1, sequenceName="SEQ_BDZ_PG")
	public Long getId() {
		return id;
	}

	public Long getBdzid() {
		return bdzid;
	}

	public void setBdzid(Long bdzid) {
		this.bdzid = bdzid;
	}

	public String getPgbh() {
		return pgbh;
	}

	public void setPgbh(String pgbh) {
		this.pgbh = pgbh;
	}

	public String getPgmc() {
		return pgmc;
	}

	public void setPgmc(String pgmc) {
		this.pgmc = pgmc;
	}

	public String getDydj() {
		return dydj;
	}

	public void setDydj(String dydj) {
		this.dydj = dydj;
	}

	public String getPglx() {
		return pglx;
	}

	public void setPglx(String pglx) {
		this.pglx = pglx;
	}

	public Date getTyrq() {
		return tyrq;
	}

	public void setTyrq(Date tyrq) {
		this.tyrq = tyrq;
	}

	public void setId(Long id) {
		this.id = id;
	}

    
}